home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / amos / AMOS_0795.lzh / AMOSLIST / 000088_amos-request@svcs1.digex.net_Wed Jul 19 08:14:10 1995.msg < prev    next >
Internet Message Format  |  1995-08-04  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id IAA27460;  for  ; Wed, 19 Jul 1995 08:14:08 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id GAA03130 for amos-out; Wed, 19 Jul 1995 06:46:39 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id GAA03127 for <amos-list@svcs1.digex.net>; Wed, 19 Jul 1995 06:46:37 -0400
  4. Received: from binx.mbhs.edu (root@binx.mbhs.edu [192.67.131.95]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id GAA23235;  for <amos-list@access.digex.net> ; Wed, 19 Jul 1995 06:46:36 -0400
  5. Received: from dragon.mbhs.edu (dragon.mbhs.edu [192.67.131.57]) by binx.mbhs.edu (8.6.11/8.6.11) with SMTP id GAA23794 for <amos-list@access.digex.net>; Wed, 19 Jul 1995 06:47:35 -0400
  6. From: achurch@dragon.mbhs.edu (Andy Church)
  7. To: amos-list@access.digex.net
  8. Subject: Re: Constants
  9. Date: Wed Jul 19 06:46:20 1995
  10. Message-ID: <199507190646.AA02167@dragon.mbhs.edu>
  11. X-Mailer: MMail v4.23
  12. Status: RO
  13. X-Status: 
  14.  
  15. >> Does any Amos version/compiler support TRUE constants, not stupid variables
  16. >> that are simply not modified?
  17. >
  18. >Why would you want to use a constant ?
  19. >If this is to increase speed, I wonder if it is worth the trouble...
  20.  
  21.   That's the reason.  The advantage of constants is that they don't require
  22. variable references, and they allow a decent compiler to optimize code with
  23. constants in it.  (Of course, AMOS is hardly a "decent" compiler...)
  24.  
  25. >> (as is most of Amos anyway, wish
  26. >>  I had learned to code graphics in C..)
  27. >Don't be so hard on yourself!
  28. >Think about the ammount of time saved by using amos...
  29.  
  30.   And the amuont of time lost trying to work around AMOS's bugs.
  31. Personally, I prefer C for most of my programming, particularly large
  32. projects, because of its structured format and because the compiler doesn't
  33. have any inherent bugs.  (There are always the bugs in the code I write,
  34. but those can be fixed, at least.)
  35.  
  36.   --Andy Church (achurch@binx.mbhs.edu)
  37.     WWW: http://mmm.mbhs.edu/~achurch/